package com.foreknow.model;

/**
 * JavaBean:就是一个普通的Java类 只包含get/set方法
 * 规则：
 * 1.类名与表名相同
 * 2.类中的属性名与列名相同
 */
public class Student {
  private String id;
  private String name;
  private int age;
  private String sex;
  private String school;

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public int getAge() {
    return age;
  }

  public void setAge(int age) {
    this.age = age;
  }

  public String getSex() {
    return sex;
  }

  public void setSex(String sex) {
    this.sex = sex;
  }

  public String getSchool() {
    return school;
  }

  public void setSchool(String school) {
    this.school = school;
  }
}
